package com.ssy.mall.service;

import com.ssy.mall.exception.SsyMallException;
import com.ssy.mall.model.pojo.User;

public interface UserService {
    User getUser();
    //注册
    void register(String userName, String password) throws SsyMallException;
    //登录
    User login(String userName, String password) throws SsyMallException;

    void updateInformation(User user) throws SsyMallException;

    boolean checkAdminRole(User user);
}
